import request from "@/utils/request";

/**
 *  添加微商城信息
 * @param params
 * @returns
 */
export function micro_mallAdd(data) {
  return request({
    url: '/management/microMall.micro_mall/add',
    method: 'post',
    data
  })
}
/**
 *  查询微商城列表
 * @param params
 * @returns
 */
export function getmicroList(data) {
  return request({
    url: '/management/microMall.micro_mall/getList',
    method: 'post',
    data
  })
}
/**
 *  修改微商城信息
 * @param params
 * @returns
 */
export function getmicroUpdate(data) {
  return request({
    url: '/management/microMall.micro_mall/update',
    method: 'post',
    data
  })
}
/**
 *  删除微商城
 * @param params
 * @returns
 */
export function getmicroDel(data) {
  return request({
    url: '/management/microMall.micro_mall/del',
    method: 'post',
    data
  })
}
/**
 *  绑定设备
 * @param params
 * @returns
 */
export function getmicroBind(data) {
  return request({
    url: '/management/microMall.micro_mall/bind',
    method: 'post',
    data
  })
}
/**
 *  获取绑定列表
 * @param params
 * @returns
 */
export function getBindList(data) {
  return request({
    url: '/management/microMall.micro_mall/getBindList',
    method: 'post',
    data
  })
}